home *** CD-ROM | disk | FTP | other *** search
/ Cre@te Online 2000 December / Cre@teOnline CD05.iso / MacSoft / XML ConsoleMax.sea / XML ConsoleMax / Required / sox / com / commerceone / CBL / n1_0 / Contact.mod < prev    next >
Encoding:
Extensible Markup Language  |  2000-07-03  |  2.3 KB  |  73 lines  |  [STrk/SCPL]

  1. <?xml version="1.0"?>
  2. <!DOCTYPE schema SYSTEM "urn:x-commerceone:document:com:commerceone:xdk:xml:schema.dtd$1.0">
  3.  
  4. <schema uri="urn:x-commerceone:document:com:commerceone:CBL:CBL.sox$1.0" >
  5.  
  6. <intro>
  7. <p>Copyright Notice</p>
  8. <p>Common Business Library 2.0<br/>
  9. Copyright 1999 Commerce One, Inc.</p>
  10. <p>Permission is granted to use, copy, modify and distribute the DTD's, schemas
  11. and modules in the Commerce One Common Business Library Version 2.0 subject to the terms
  12. and conditions specified at http://www.marketsite.net/xml/cbl/copyright.html</p> 
  13. </intro>
  14. <!-- 
  15. The aggregate of CTA and COM.
  16.  -->
  17.  
  18. <datatype name="ContactFunctionCode">
  19.     <!-- EDIFACT Data Element 3139. Contact Function. -->
  20.     <enumeration datatype="NMTOKEN">
  21.     <option>OrderContact</option><!-- OC = Order contact -->
  22.     <option>ReceivingContact</option><!-- GR Goods receiving contact -->
  23.     <option>InfoContact</option><!-- IC Information contact -->
  24.     <option>PurchasingContact</option><!-- PD Purchasing contact -->
  25.     <option>SalesRepContact</option><!-- SR Sales representative or department -->
  26.     </enumeration>
  27. </datatype>
  28.  
  29. <elementtype name="Contact">
  30.     <model>
  31.         <sequence>
  32.             <!--  The department or employee Id  -->
  33.             <element type="Identifier" occurs="?" />
  34.             
  35.             <!--  The department or employee name  -->
  36.             <element type="string" name="ContactName" />
  37.             
  38.            <!--  EDIFACT: COM:3155
  39.                 OBI: PER03 O ID 2/2 TE - telephone 1/80
  40.                  Include country or area code  -->
  41.             <element type="string" name="Telephone" />
  42.  
  43.             <!--  EDIFACT: COM: 3155
  44.                  OBI: PER03      O       ID      2/2     EM - email 1/80  -->
  45.             <element type="string" name="Email" occurs="?" />
  46.  
  47.             <!--  EDIFACT: COM: 3155
  48.                  PER03      O       ID      2/2     FX - fax 1/80  -->
  49.             <element type="string" name="Fax" occurs="?" />           
  50.  
  51.         </sequence>
  52.     </model>
  53. </elementtype>
  54.  
  55. <elementtype name="ContactCoded">
  56.    <extends type="Contact">
  57.        <append>
  58.            <element type="ContactFunctionCode" name="ContactQual" />
  59.        </append>
  60.    </extends>
  61. </elementtype>  
  62.  
  63. <elementtype name="ListOfContactCoded">
  64.     <model>
  65.            <element type="ContactCoded" occurs="+" />
  66.     </model>
  67. </elementtype>  
  68.  
  69. </schema>
  70.  
  71.  
  72.  
  73.